package com.aizhixin.lab.post.repository;

import com.aizhixin.lab.post.entity.PostSkill;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PostSkillRepository extends JpaRepository<PostSkill,String> {
    Integer deleteByPostId(String postId);
    List<PostSkill> findByPostIdAndDeleteFlag(String postId,Integer deleteFlag);
    Integer countByPostId(String postId);
}
